using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Youshow.Ace.Domain.Models;

namespace YayiMgr.Domain.SystemBase
{
    public class DictionaryItem:BaseModel<Guid>
    {
        public new Guid Id { get; set; }
        [Comment("字典项名称")]
        [MaxLength(50)]
        public string Name { get; set; }
        [Comment("排序")]
        public int Sort { get; set; }
        [Comment("字典类型ID")]
        public Guid TypeId { get; set; }
        [Comment("字典类型名称")]
        [MaxLength(50)]
        public string TypeName { get; set; }
        public bool Enabled { get; set; }
    }
}